﻿using System.Collections.Generic;
using HMIS.FrameWork;
using HMIS.FrameWork.DomainBase;
using HMIS.Infrastructure.Core.Authority;

namespace HMIS.Infrastructure.Facade.Authority
{
    public interface IDepartmentFacade : IDomainFacade
    {
        IList<Department> GetPlist(int start, int limit, string sort, string dir, List<DataFilter> filters, out long total);
        bool IsFieldExist(string fieldName, string fieldValue, string id);
        void SaveOrUpdate(Department entity);
        void Delete(string id);
        Department Get(string id);
        Department Load(string id);
        IList<Department> QueryPlist(string query, int start, int limit, out long total);
    }
}
